button
Type
keyword
Summary
Designates the Button tool, which is used to create new buttons.
Syntax
button
Description
Use the button keyword to create buttons.
When using the Button tool, the cursor is a crosshairs. This tool is used for creating buttons by clicking at one corner of the button and dragging to the opposite corner.
You can set the style of the templateButton to the button type you want, then draw the button with the Button tool. The button icons on the Tools palette work this way: each one sets the style of the templateButton, then chooses the Button tool so you can create the button.
Examples
if the tool is not "button" then beep
Related
function: tool
glossary: keyword
keyword: templateButton, button
object: button
property: style
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile